﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace QingZhouLinYe_Web.Models
{
    [SugarTable("HuoQingLeiBie")]
    public class HuoQingLeiBie
    {
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "主键Id")]
        public int Id { get; set; }

        [SugarColumn(ColumnDescription ="类别名称")]
        public string LeiBie { get; set; }

        [SugarColumn(IsIgnore = true)]
        [Navigate(NavigateType.OneToMany, nameof(HuoQing.HuoQingLeiBieId))]
        public List<HuoQing> HuoQings { get; set; }
    }
}